plot (sin(pi*x-pi/2))-re(sqrt(sin(pi/2*(x+2))))^2 from x=0 to x=12